<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="apple-touch-icon" href="http://i2.sinaimg.cn/dy/deco/2010/0709/icon.png" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>博客搜索_热浪搜索_热浪网</title>
    <meta name="keywords" content="博客搜索,热浪搜索,热浪网" />
    <meta name="description" content="热浪博客搜索" />
    <meta name="viewport" content="initial-scale = 1.0,maximum-scale=1.0" />
    <link rel="stylesheet" href="/searchcss.css">
    <script src="/js/jquery-1.8.0.js"></script>
    <link rel="stylesheet" href="/layer/mobile/need/layer.css">
    <script src="/layer/mobile/layer.js"></script>
    <link rel="stylesheet" href="/layer/theme/default/layer.css">
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/layui/css/layui.mobile.css">
    <script src="/layui/layui.all.js"></script>


    <script type="text/javascript">
        var value=[[${param.text}]]
        var text="[[${param.value}]]"
        $(function(){

            if(value==1){
              $("#search1").prop("checked",true);
            }
            if(value==2){

                $("#search2").prop("checked",true);
            }
            if(value==3){
                $("#search3").prop("checked",true);
            }
            $("#keyword").val(text)
            if(value!=null&&value!=""&&text!=""){
                search();
            }
            getCookie();
        })
        //获取后台存入的cookie的账号 密码
        function getCookie() {

            var searchword="";
            // 对cookie操作
            var cookies = document.cookie;
            var cook=cookies.split(";")
            for(var i=0;i<cook.length;i++){
                var coo=cook[i].split("=")
                for(var j=0;j<coo.length;j++){
                    if(coo[j].indexOf("searchword")>-1){
                        searchword=coo[1]
                    }
                }
            }
            var a =searchword.split("#");
            var countent="";
            for(var i=0;i<a.length;i++){
                countent+="<a href='/view/toView?view=search&text="+$("input[name='range']:checked").val()+"&value="+a[i]+"'><font size='3' face='楷体'>"+a[i]+"</font></a><br>"
            }
            $("#searchword").html(countent)

        }
   //清除搜索字
        function clearword(){
            $.ajax({
                type:"get",
                url:"/Es/clearword",
                success:function(){
                    $("#searchword").html("")
                    $("#keyword").val("");
                },
                error:function(){
                    layer.alert("网路太慢,请检查")
                }


        })
        }

            //搜索按钮
        function search(){

            if($("#keyword").val()!=""&&$("input[name='range']:checked").val()!=""){
                    $.ajax({
                        type:"get",
                        url:"/Es/queryEs",
                        data:{text:$("#keyword").val(),id:$("input[name='range']:checked").val(),pagea:$("[name='pageNow']").val(),rowsa:$("[name='pageCount']").val()},
                        success:function(data){
                            var countent="";
                        if(data.length<1){
                            $("#table").hide()
                            $("#sum").html(0)
                            countent="对不起,您搜索的内容暂时查询不到"
                        }else if($("input[name='range']:checked").val()==2){
                               $("#table").hide()
                                $.each(data,function (index,obj) {
                                    $("#sum").html(index+1)
                                    countent+=" <div class='so_userinfo' data-sudaclick='blk_blog_user_1_index' >";
                                    countent+="<a href='/view/toView?view=geRenZhuYe&id="+obj.aid+"' target'_blank'><img src='"+obj.aimage+"'width='90' height='90' class='userPic' alt='暂无图片' /></a>";
                                    countent+=" <div class='info_txt'>";
                                    countent+="<h4>";
                                    countent+="<a href='/view/toView?view=geRenZhuYe&id="+obj.aid+"' class='blueName' target='_blank'>"+obj.aname+"的博客</a>";
                                    countent+=" </h4>";
                                    countent+="<p class='row1'>博主：<a href='/view/toView?view=geRenZhuYe&id="+obj.aid+"' class='lblueName' target='_blank'><span style='color:#C03'>"+obj.aname+"</span></a></p>";
                                    countent+="<a href='http://blog.sina.com.cn/u/2216163867' class='lblueName'target='_blank'><p class='row2'><em>lalalallala</em></p></a>";
                                    countent+="<p class='row3'><a href='http://blog.sina.com.cn/u/2216163867' class='lblueName' target='_blank'><img align='absmiddle'src='http://blogimg.sinajs.cn/v5images/icon/rss1.gif'></a><a onclick='rss(2216163867, 2216163867,this)'>订阅</a></p>";
                                    countent+="</div>";
                                    countent+="</div>";
                                })

                            }else if($("input[name='range']:checked").val()==1){

                                $.each(data,function (index,obj) {
                                    $("#table").show()
                                    $("#pageSum").html(obj.totala)
                                    $("#sum").html(obj.totala)
                                    $("#pageSize").html(Math.ceil(obj.totala/$("[name='pageCount']").val()))
                               countent+="<div class='box-result clearfix' data-sudaclick='blk_blog_0_index' >"
                               countent+="<h2 class='r-info-blog-tit'><a href='/view/toView?view=XiaangQing&id="+obj.authorid+"&nameid="+obj.nameid+"'target='_blank'>"+obj.btname+"</a> </h2>"
                               countent+=" <div class='clearfix'>"
                               countent+="<div class='r-info r-info-blog r-info-blog-full'>"
                               countent+="<p class='content'>"+obj.text.substr(0,10)+"<br>"
                               countent+=""+obj.text.substr(10,20)+".....</p>"
                               countent+="<p>"
                               countent+="<span class='fgray_time'>2019-03-10 12:40:47</span><span class='fgray'>博主：</span><a href='/view/toView?view=geRenZhuYe&id="+obj.authorid+"' target='_blank' class='rib-author'>"+obj.authorname+"</a>"
                               countent+="</p>"
                               countent+="</div>"
                               countent+="</div>"
                               countent+="</div>"
                                })
                            }
                            $("#info").html(countent);
                            getCookie();
                        },
                        error:function(){
                            layer.alert("网路太慢,请检查")
                        }

                    })
            }
        }
    </script>

</head>


<body>

<div class="topWrap">
    <div style="position:relative;z-index:10000" id="top_column">
        <div class="top clearfix">
            <div class="l">
                <div class="l">
                    <h1 class="l"><a href="/?t=news">热浪搜索</a></h1>
                    <div class="navType l">
                        <a rel="/?q=[keyword]&c=news" href="/?q=%D0%A1%C3%F7&c=news" id="tab02">新闻</a>
                        <a rel="/?q=[keyword]&c=zt" href="/?q=%D0%A1%C3%F7&c=zt&range=title" id="tab02">专题</a>
                        <a rel="/?q=[keyword]&c=blog" href="/?q=%D0%A1%C3%F7&c=blog" class="selected" id="tab03">博客</a>
                        <a rel="http://s.weibo.com/weibo/[keyword]" href="http://s.weibo.com/weibo/%E5%B0%8F%E6%98%8E" target="_blank" id="tab04">微博</a>

                        <a rel="/?q=[keyword]&c=img" href="/?q=%D0%A1%C3%F7&c=img" id="tab07">图片</a>


                        <a rel="/?q=[keyword]&c=video" href="/?q=%D0%A1%C3%F7&c=video&range=title" id="tab02">视频</a>
                        <!-- <a rel="http://biz.finance.sina.com.cn/suggest/lookup_n.php?country=&q=[keyword]&name=%CD%F2%BF%C6A&t=keyword&c=all&k=%CD%F2%BF%C6A&range=all&col=1_7&from=channel" href="http://biz.finance.sina.com.cn/suggest/lookup_n.php?country=&q=%D0%A1%C3%F7&name=%CD%F2%BF%C6A&t=keyword&c=all&k=%CD%F2%BF%C6A&range=all&col=1_7&from=channel" target="_blank" id="tab05">股票</a> -->
                        <!-- <a rel="http://music.sina.com.cn/yueku/search/s.php?t=all&k=[keyword]" href="http://music.sina.com.cn/yueku/search/s.php?t=all&k=%D0%A1%C3%F7" target="_blank" id="tab06">音乐</a>
                        <a rel="/?q=[keyword]&c=product" href="/?q=%D0%A1%C3%F7&c=product" id="tab08">产品库</a>
                        <a href="zl/search.php?q=%D0%A1%C3%F7" title="专栏搜索" target="_BLANK">专栏</a> -->
                        <a rel="http://biz.finance.sina.com.cn/suggest/lookup_n.php?country=&q=[keyword]&name=s&t=keyword&c=all&k=s&range=all&col=1_7&from=channel" href="http://biz.finance.sina.com.cn/suggest/lookup_n.php?country=&q=%D0%A1%C3%F7&name=s&t=keyword&c=all&k=s&range=all&col=1_7&from=channel" target="_blank" id="tab04">股票</a>
                        <a href="?c=more" id="topamore" >更多>></a>
                    </div>
                </div>
            </div>
            <div class="r">
                <a href="/view/toView?view=SinaHomePage" suda-uatrack="key=SearchHeader&amp;value=sinahomepage">热浪首页</a>
            </div>


            <!--0422 login-->
            <div class="login-frame">
                <a href="javascript:;" class="login-button" id="JS_Login_Btn"><span style="cursor:pointer;"><a href="/login/login?login=login">登录</a></span></a>
                <div class="logined-wrap fl" id="JS_Logined_Wrap"></div>
                <div id="JS_Login_Layer" style="display:none"></div>
            </div>
            <!--0422 login-->


        </div>
        <div class="list-more" id="topcmore" style="left:292px;top:26px;display:none;"><!-- left:485px -->
            <div class="more-arr"></div>
            <div class="more-link">
                <a rel="http://biz.finance.sina.com.cn/suggest/lookup_n.php?suggest_radio=lookupn&country=&q=[keyword]&t=keyword&c=all&k=[keyword]&name=[keyword]" href="http://biz.finance.sina.com.cn/suggest/lookup_n.php?suggest_radio=lookupn&country=&q=%D0%A1%C3%F7&t=keyword&c=all&k=%D0%A1%C3%F7&name=%D0%A1%C3%F7" target="_blank">股票</a>
                <a rel="http://php.weather.sina.com.cn/search.php?city=[keyword]&c=1&f=1&dpc=1" href="http://php.weather.sina.com.cn/search.php?city=%D0%A1%C3%F7&c=1&f=1&dpc=1" target="_blank">天气</a>
                <a rel="http://map.sina.com.cn/#city=北京!type=0!cr=12,11639794,3990817!k=[keyword]!strt=0!snum=10" href="http://map.sina.com.cn/#city=北京!type=0!cr=12,11639794,3990817!k=小明!strt=0!snum=10" target="_blank">地图</a>
                <a rel="http://yingxun.ent.sina.com.cn/search_key.php?keyword=[keyword]" href="http://yingxun.ent.sina.com.cn/search_key.php?keyword=%D0%A1%C3%F7" target="_blank">影讯</a>
                <a rel="http://data.ent.sina.com.cn/show/search.php?keyword=[keyword]" href="http://data.ent.sina.com.cn/show/search.php?keyword=%D0%A1%C3%F7" target="_blank">演出</a>
                <a href="http://bbs.sina.com.cn/" target="_blank" class="line-dot">论坛</a>
                <a href="?c=more" class="line-dot">更多&gt;&gt;</a>
            </div>
        </div>
    </div>

    <div class="top2">
        <div class="search-form l">
                <input name="c" type="hidden" value="blog" />
                <input type="text"   name="q" maxlength="100"  class="ipt-02"  id="keyword" />
            <input onclick="search()" type="image" src="http://i2.sinaimg.cn/blog/deco/2007/1219/ph_blog_lmy_005.gif" />

                <p>
                        <input type="radio" onclick="search()"  name="range" id="search1" value="1"/>搜标题
                        <input type="radio" onclick="search()" name="range" id="search2" value="2" />搜博主
                </p>
        </div>
    </div>
</div>

<div class="wrap" id="wrap">
    <div class="main clearfix">

        <div id="result" class="result">

            <div class="result_num">
                我们为您搜索到<span id="sum"></span>条博客结果
            </div>

            <div id="nav_result_container">

            </div>
               <!--info-->
                <div id="info">


                </div>
        </div>

        <div class="sRight">
            <!--0422-->
            <div class='blk_right'>
                <!--订阅词start-->
                <div class='blk_myRss'>
                    <div class='br_title clearfix'><h4>我的订阅词</h4><a href="javascript:;" class='rss_rssCur'>订阅当前词</a></div>
                    <ul class='ul_right' id='rss01'></ul>
                </div>
                <!--订阅词end-->
                <!--最近搜过start-->
                <div class='blk_myHis'>
                    <div class='br_title clearfix'><h4>最近搜过</h4><a class='his_fold' href="javascript:;">展开收起</a><a href="javascript:;" onclick="clearword()">全部清除</a></div>
                    <ul class='ul_right' id="searchword"></ul>
                </div>
                <!--最近搜过end-->
                <!--大家都在搜 start-->
                <div class='blk_hotSearch'>
                    <div class='br_title clearfix'><h4>大家都在搜</h4></div>
                    <ul class='ul_hotSearch' id='hotSearch01'>

                    </ul>
                </div>
                <!--大家都在搜 end-->
            </div>
        </div>
    </div><!--sRight end-->




        <div class="zcad" style="margin-left: 50px">
                    <table id="table" hidden="hidden">
                        <tr>
                            <td>总共<span id="pageSum"></span>条</td>
                            <td>总共<span id="pageSize"></span>页</td>
                            <td>当前<input size="1" value="1" name="pageNow">页</td>
                            <td>每页<select  name="pageCount" ><option selected >2</option><option>5</option></select>条</td>
                            <td><a href="javaScript:toPage(1)">首页</a></td>
                            <td><a href="javaScript:toPage(2)">上一页</a></td>
                            <td><a href="javaScript:toPage(3)">下一页</a></td>
                            <td><a href="javaScript:toPage(4)">尾页</a></td>
                            <td><input type="button" value="跳转" onclick="search()"></td>
                        </tr>
                    </table>
                    </form>
                    <script type="text/javascript">
                        function toPage(type){
                                //首页
                                    if(type==1){
                                        $("[name='pageNow']").val(1);
                                        alert("现在已经是首页了!");
                                    }
                                //尾页
                                    if(type==4){
                                        $("[name='pageNow']").val($("#pageSize").html());
                                        alert("已经是尾页了!");
                                   }
                                //下一页
                                    if(type==3){
                                        var pageNow = $("[name='pageNow']").val();
                                        if(pageNow == $("#pageSize").html()){
                                                alert("sorry！已经是最后一页了！");
                                                return;
                                            }
                                        pageNow++;
                                        $("[name='pageNow']").val(pageNow);
                                   }
                                //上一页
                                    if(type==2){
                                        var pageNow = $("[name='pageNow']").val();
                                        if(pageNow == 1){
                                                alert("sorry！已经是第一页了！");
                                                return;
                                            }
                                        pageNow--;
                                        $("[name='pageNow']").val(pageNow);
                                    }
                                    search()
                           }
                   </script>        <!-- ad end-->
        <!--100125001 begin-->
        <style type="text/css">
            <!--
            .div0713{padding:5px;width:200px; background:#edf7ff; font-size:12px;display:none}
            .div0713 b{font-weight:normal!important;}
            .div0713 div{text-align:left;color:#33c;}
            .div0713 div a{display:inline; color:#33c!important; text-decoration:underline;}
            .div0713 div a:hover,.div0713 div a:active{color:#f00!important; text-decoration:underline;}
            .div0713 a{display:block;text-decoration:none;color:#33c;margin:5px 0 10px;}
            .div0713 a h4{font-size:14px;font-weight:normal;text-decoration:underline;color:#33c;margin:0;line-height:20px;}
            .div0713 a p{color:#666!important;margin:0;line-height:16px; text-decoration:none!important;}
            .div0713 a span{color:#008000!important;text-decoration:underline;}
            -->
        </style>
        <div class="div0713" id="ads0713"></div>
        <!--100125001 end-->
    </div>

</div>
<!-- 相关搜索 begin -->
<!-- 相关搜索 begin -->
<div class="about_search clearfix">
    <div id="about_search_box" class="about_search_box">

    </div>
</div>
<!-- 相关搜索 end -->
<!-- 相关搜索 end -->
</div>

</div>


<div id="footer" class="foot">
    <a href="javascript:void(0);" onclick="setHomePage();">设为首页</a> - <a href="http://comment4.news.sina.com.cn/comment/skin/feedback.html?channel=ly&newsid=231" target="_blank">意见反馈</a> - <a href="http://corp.sina.com.cn/chn/" target="_blank">热浪简介</a> - <a href="http://corp.sina.com.cn/eng/" target="_blank">About Sina</a>
    </br>
    &copy;2019 - <a href="http://corp.sina.com.cn/chn/sina_priv.html" target="_blank">隐私保护 </a> -  <a href="http://corp.sina.com.cn/chn/sina_intr.html" target="_blank">热浪公司</a> <a href="http://corp.sina.com.cn/chn/copyright.html" target="_blank">版权所有</a> <a href="http://www.miibeian.gov.cn/" target="_blank">京ICP证000007 <img src="images/logo_homeIcon.png" width="13" height="17" class="Icon01" /></a>
    <br/>
    <a href="http://news.sina.com.cn/c/2013-01-29/171826152112.shtml" target="_blank">共同抵制网络低俗色情信息</a> - 文明办网文明上网举报电话：010-82615762
</div>

<!
</body>
</html>

